package org.nf.service;

import org.nf.dao.UserDao;
import org.nf.dao.impl.UserDaoImpl;
import org.nf.entity.User;

/**
 * @Author lzp
 * @Date 2024-04-22
 */
public class UserService {
    public User login(String username,String password){

        UserDao dao = new UserDaoImpl();
        return dao.selectUser(username,password);
    }
}
